package com.localjoycommunity.cpdj.project.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.localjoycommunity.cpdj.framework.aspectj.lang.annotation.Excel;
import com.localjoycommunity.cpdj.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 心愿列对象 wish_list
 *
 * @author aqie
 * @date 2020-11-29
 */
public class WishList extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long activityWishId;

    /**
     * 封面
     */
    @Excel(name = "封面")
    private String cover;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;

    /**
     * 认领方式
     */
    @Excel(name = "认领方式")
    private String claimMethod;

    /**
     * 是否参加活动 1是  0否
     */
    @TableField(exist = false)
    private int isApply = 0;

    public int getIsApply() {
        return isApply;
    }

    public void setIsApply(int isApply) {
        this.isApply = isApply;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getActivityWishId() {
        return activityWishId;
    }

    public void setActivityWishId(Long activityWishId) {
        this.activityWishId = activityWishId;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getClaimMethod() {
        return claimMethod;
    }

    public void setClaimMethod(String claimMethod) {
        this.claimMethod = claimMethod;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("activityWishId", getActivityWishId())
                .append("cover", getCover())
                .append("title", getTitle())
                .append("claimMethod", getClaimMethod())
                .toString();
    }
}
